#ifndef __OPENPT_H__
#define __OPENPT_H__

#include <stdlib.h>
#include <fcntl.h>

int posix_openpt( int oflag );
char *ptsname( int fdm );
int grantpt( int fdm );
int unlockpt( int fdm );

int ptym_open( char *pts_name, int pts_namesz );
int ptys_open( char *pts_name );

#endif
